﻿using Camc.Quality.QualityAnalysis.RFormBase;
using Camc.Quality.QualityAnalysis.RFormClass;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.QualityAnalysis.RFormEntity
{
    public class R整流罩锉修记录表 : RTableBase
    {

        public R整流罩锉修记录表(int serialNum, Guid rWorkStepEntityId, Guid rProcessesEntityId, int sort, string fisrtDrawingNum ,string recordRemark)
        {
            SerialNum = serialNum;
            RWorkStepEntityId = rWorkStepEntityId;
            RProcessesEntityId = rProcessesEntityId;
            Sort = sort;
            FisrtDrawingNum = fisrtDrawingNum;
            RecordRemark = recordRemark;
        }
        public override string FormName { get; protected set; } = "整流罩锉修记录表";

        #region A4_图号
        public override string FisrtDrawingNum_DisplayName { get; protected set; } = "图号";
   
        #endregion
        /// <summary>
        /// 实测结果
        /// </summary>
        /// <param name="entity"></param>
        /// <param name="measuredActual"></param>
        /// <returns></returns>
        public RMeasuredResultEntity SetMeasuredResult(RMeasuredResultEntity entity, string measuredActual)
        {

            entity.SetMeasuredActual(measuredActual, "锉修过的安装孔记录");

            return entity;
        }
    }
}
